Fix query-replace-regexp incomplete highlighting (Bug#6808).
authorJohan Bockgård <bojohan@gnu.org>
Sun, 8 Aug 2010 20:55:52 +0000 (16:55 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 8 Aug 2010 20:55:52 +0000 (16:55 -0400)
commit15f066f20732ab96de7fb12b52412ab9ab7a0ff0
tree49783003e7091f605172292988b83965a100a568
parent43dee3bcaa5533da0e76ec6ecdade6517f0d6965
Fix query-replace-regexp incomplete highlighting (Bug#6808).

* replace.el (replace-highlight): Bind isearch-forward and
isearch-error, ensuring that highlighting is updated if the user
switches the search direction (Bug#6808).

* isearch.el (isearch-lazy-highlight-forward): New var.
(isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
(isearch-lazy-highlight-update): Use it.
lisp/ChangeLog
lisp/isearch.el
lisp/replace.el